package com.huijinhui.wlmtsys.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 信息表实体类
 */
@Data
@TableName("info")
public class WlmtsysInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @Schema(title = "id", description = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 标题
     */
    @Schema(title = "标题", description = "信息的标题")
    @TableField("title")
    private String title;

    /**
     * 内容
     */
    @Schema(title = "内容1", description = "信息的详细内容")
    @TableField("content1")
    private String content1;

    @Schema(title = "内容2", description = "信息的详细内容")
    @TableField("content2")
    private String content2;

    /**
     * 图片链接
     */
    @Schema(title = "图片", description = "信息相关的图片链接")
    @TableField("image")
    private String image;

    @Schema(title = "公众号图片", description = "公众号图片")
    @TableField("weimg")
    private String weimg;

    @Schema(title = "联系电话", description = "联系电话")
    @TableField("phone")
    private String phone;

    @Schema(title = "邮箱", description = "邮箱")
    @TableField("email")
    private String email;

    @Schema(title = "地址", description = "地址")
    @TableField("address")
    private String address;

    @Schema(title = "创建时间", description = "创建时间")
    @TableField("create_time")
    private LocalDateTime createTime;

    // Lombok的@Data注解已经包含了getter和setter方法
}